$OpenBSD: patch-src_calibre_linux_py,v 1.9 2017/02/06 22:39:05 sthen Exp $

- skip uninstaller parts

--- src/calibre/linux.py.orig	Fri Jan 27 03:46:08 2017
+++ src/calibre/linux.py	Sun Feb  5 13:34:05 2017
@@ -702,18 +702,6 @@ class PostInstall:
             self.setup_completion()
         if islinux or isbsd:
             self.setup_desktop_integration()
-        self.create_uninstaller()
-
-        from calibre.utils.config import config_dir
-        if os.path.exists(config_dir):
-            os.chdir(config_dir)
-            if islinux or isbsd:
-                for f in os.listdir('.'):
-                    if os.stat(f).st_uid == 0:
-                        import shutil
-                        shutil.rmtree(f) if os.path.isdir(f) else os.unlink(f)
-                if os.stat(config_dir).st_uid == 0:
-                    os.rmdir(config_dir)
 
         if warn is None and self.warnings:
             self.info('\n\nThere were %d warnings\n'%len(self.warnings))
